import request from '@/utils/request'

export function dangerType(data) {
  return request({
    url: '/dangertypes/type',
    method: 'post',
    data
  })
}

export function dangerArea(data) {
  return request({
    url: '/dangertypes/area',
    method: 'post',
    data
  })
}

export function dangerTypeChange(data) {
  return request({
    url: '/dangertypes/change',
    method: 'post',
    data
  })
}

export function dangerTypeAdd(data) {
  return request({
    url: '/dangertypes/add',
    method: 'post',
    data
  })
}
